package com.loveget.onenight.application;

import android.app.Application;
import android.content.Context;

import com.loveget.onenight.constant.Constants;
import com.loveget.onenight.util.SPUtil;

/**
 * @author :QuZhaoXin
 * @version :1.0.0
 * @date :2017/11/17
 */
public class AppApplication extends Application {
    private static AppApplication instance;

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
//        SPUtil.init(this, Constants.SHARE_PREFERENCE_NAME, Context.MODE_PRIVATE);
    }

    public static AppApplication getInstance() {
        return instance;
    }
}

